#ifndef _UART_H
#define _UART_H

#include <avr/io.h>
#include <avr/interrupt.h>
#include "led.h"
//#include <stdint.h>


#define FOSC 16000000U                       // Clock Speed
#define BAUD 19200U                
#define MYUBRR FOSC/16/BAUD -1U


extern volatile char ReceivedChar;

void uart_init(void);
void uart_tx(char byte_to_send);
void send_to_terminal(char byte_to_send);

#endif
